customElements.define('dialog-slot',
    class extends HTMLElement {
        constructor() {
            super();
            const template = document.getElementById('dialog-template').content;
            const shadowRoot = this.attachShadow({ mode: 'open' }).appendChild(template.cloneNode(true));
        }
    });